elpa-undo-tree software package provides Emacs minor mode for handling undo history as tree, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install elpa-undo-tree
elpa-undo-tree is installed in your system.
Make ensure the elpa-undo-tree package were installed using the commands given below,
$ sudo dpkg-query -l | grep elpa-undo-tree *
You will get with elpa-undo-tree package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Lisp |
| Package | elpa-undo-tree |
| Version | 0.6.4-1 |
| Description | Emacs minor mode for handling undo history as tree |
| Sub Section | Lisp |